<template>
  <div class="hello">
    <el-container>
      <el-aside width="auto">
        <Aside></Aside>
      </el-aside>
      <el-container>
        <el-header>
          <Header></Header>
        </el-header>
        <common-tab></common-tab>
        <el-main>
          <!-- 路由出口 -->
          <router-view></router-view>
        </el-main>
        <el-footer>
          <Footer/>
        </el-footer>
      </el-container>
      <Top></Top>
    </el-container>
  </div>
</template>

<script>
import Aside from "@/components/common/Aside.vue";
import Header from "@/components/common/Header.vue";
import CommonTab from "@/components/common/CommonTab.vue";
import Top from "@/components/common/Top.vue";
import Footer from "@/components/common/Footer.vue";

export default {
  name: "Home",
  data() {
    return {};
  },
  components: {
    Aside,
    Header,
    CommonTab,
    Top,
    Footer
  },
  methods: {}
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.el-header {
  padding: 0 0;
}

.el-footer {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}
</style>
